package com.teacher.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.OutputStream;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author teacher
 * @since 2022-04-11
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="TClass对象", description="")
public class TClass implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "课程id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "课程名")
    private String name;

    @ApiModelProperty(value = "总容纳量学生")
    private Integer totalnum;

    @ApiModelProperty(value = "现阶段学生数量")
    private Integer nownum;

    @ApiModelProperty(value = "授课老师id")
    private Integer stuId;

    @ApiModelProperty(value = "上课时间/星期几/上午中午下午")
    private String attendTime;

    @ApiModelProperty(value = "课程图片")
    private byte[] picture;

    @ApiModelProperty(value = "课程介绍")
    private String value;

    @TableField(exist = false)
    private TUser tUserTeacher;

    @ApiModelProperty(value = "上课地址")
    private String address;

    @ApiModelProperty(value = "课程介绍")
    private int fen;

    @ApiModelProperty(value = "课程介绍")
    private String keshi;


    @ApiModelProperty(value = "课程种类")
    private String type;


    @ApiModelProperty(value = "专业id")
    private int zyId;

    @TableField(exist = false)
    private CollegeMajor collegeMajor;

    @TableField(exist = false)
    private OutputStream out;
}
